Skip to content

Add dogstatsd-http-serializer#298

Open
vickenty wants to merge 2 commits intomasterfrom
vickenty/dhs
Open

Add dogstatsd-http-serializer#298
vickenty wants to merge 2 commits intomasterfrom
vickenty/dhs

Conversation

@vickenty
Copy link
Contributor

@vickenty vickenty commented Mar 6, 2026

Add serializer implementation for new Dogstatsd HTTP-based protocol (for the server code, see DataDog/datadog-agent#45445).

This is more or less a verbatim translation of the intake v3 payload serializer), No compression is implemented, since payloads are expected to be sent primarily via the loopback interface. This the implementation a bit simpler, since only one payload size limit need to be observed.

The main entry point is in the PayloadBuilder class, and together with Metric, ScalarMetric and SketchMetric classes it defines the public API. PayloadConsumer is used to stream A set of Buffer classes provide growable arrays of primitives.

@vickenty vickenty force-pushed the vickenty/dhs branch 2 times, most recently from 014aa77 to e2955bd Compare March 6, 2026 12:43
@vickenty vickenty marked this pull request as ready for review March 6, 2026 12:53
@vickenty vickenty requested a review from a team as a code owner March 6, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant